home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / amiexpress / source / ae / code / ax3.00 / iconifyae.c < prev    next >
Encoding:
C/C++ Source or Header  |  1980-01-03  |  529 b   |  28 lines

  1. #include "bbs.h"
  2. #include <clib/intuition_protos.h>
  3. extern void CloseWindowSafely( struct Window *win );
  4. void IconifyAE(void)
  5. {
  6. CloseConsole();
  7. if(ZWindow) CloseZDisplay();
  8. if(Iconify)CloseWindow(Iconify); 
  9. if(DStatBar)CloseWindow(StatusPane);
  10. if(MYwindow)CloseWindow(MYwindow);
  11.   
  12. if(BitPlanes!=0)
  13.     {
  14.         DisposeObject(closeimage);
  15.         FreeScreenDrawInfo(MYScreen, drinfo);
  16.     CloseScreen(MYScreen);
  17.       closeimage=0L;
  18.       drinfo=0L;
  19.       MYScreen=0L;
  20.     }
  21. Iconify=0L;
  22. StatusPane=0L;
  23. MYwindow=0L;
  24.  
  25. KEYIN=0;
  26. IconifySig=0L;
  27. ICON=1;
  28. }